import Layout from '@/layout'
export default {
  path: '/vehicle',
  component: Layout,
  name: 'Vehicle',
  meta: { title: '车辆管理', icon: 'vehicle' },
  children: [
    {
      path: 'vehicleList',
      name: 'VehicleList',
      meta: { title: '车辆列表' },
      component: () => import('@/views/Vehicle/module/vehicle-list')
    },
    {
      path: 'vehicleModel',
      name: 'VehicleModel',
      meta: { title: '车辆管理' },
      component: () => import('@/views/Vehicle/module/vehicle-model')
    },
    {
      path: 'vehicleReturn',
      name: 'VehicleReturn',
      meta: { title: '回车登记' },
      component: () => import('@/views/Vehicle/module/vehicle-return')
    },
    {
      path: 'vehicleDetail/:id',
      name: 'VehicleDetail',
      meta: { title: '车辆详情' },
      component: () => import('@/views/Vehicle/module/vehicle-detail'),
      hidden: true
    }
  ]
}
